Move all file modifications to a single thread for #103