upload_files: fix stripping leading path
upload_files: fix stripping leading path

The leading path was expected to end with '/'.
If it doesn't, which is legal, it should also
strip the remaining '/' from the filename.

tapper/Tapper-PRC,tapper/Tapper-PRC,tapper/Tapper-PRC