Implement VirtualFile for preview file diffs
Created by: eseliger
This was one open todo for myself, leftover from #9166
Due to the simplifications, this is also addressing the concerns from https://github.com/sourcegraph/sourcegraph/issues/10616
Closes https://github.com/sourcegraph/sourcegraph/issues/10616