Catch file system errors and feed back through ajax