FileUpload: Change rename to copy and delete

- Changed rename to copy and delete to allow for situations where tmp and assets are
  on different file systems.
- Fixed test file name.