pub fn save_to_file(vfs: &Vfs, path: &Path) -> Result<()>
Save VFS to a .bin file.
Returns I/O error on serialize or write failure.