Load file into MemoryStream and patch inside it instead of directly working on the filesystem.
Code normalization