Fix issue #513

* use FileUtils to move file in case tmp dir is on a separate file system
* set filepath for execution even if file move fails, allowing user to
* manually restore file if necessary
* capture IOException for createTempFile when exporting archive