Fixes to file preview test
Additional test for file-writing capabilities of File::Utils::IO
Fixed a load of issues with arguments exposed by unit test
Fixed issues with file-writing methods
Return 1 if no error in file-writing, otherwise test assumes it failed