SFTP-26: Fixes #26 - Stop blind write error

Changes FileUtils call to writeText to allow blind writes