Fixed an error with encoding saved files.