file.replace issue when show_changes is False. Fixes #14978
Merge pull request #15375 from boltronics/2014.1-issue_14978

file.replace issue when show_changes is False. Fixes #14978 (2014.1 branch)