Removed path from upload filenames (if any).
Merge pull request #83 from ernstchan/bugfixes

Removed path from upload filenames (if any).