Changed FileRef upload to manage error conditions
Merge pull request #17 from cizra/file-upload-errors

Changed fileref server upload to catch any exceptions from requests and ...