Fix issue with writing to files.
1 file changed