Fixing errors caused by directory not existing
Moving code
Merge pull request #1 from voceconnect/file_write_error_fix_05022014

Fixing errors caused by directory not existing