Improved UT to modify a writable file.
Merge branch 'rel-3_1' of git.otrs.com:otrs/otrs into rel-3_1