closed #3580:  FileUtilsTest->TextWritePlist crashes
Merge pull request #4867 from dumganhar/iss3580-write-tofile

closed #3580:  FileUtilsTest->TextWritePlist crashes