Fixed bug

Fixed filename bug when uploading.

Signed-off-by: Jonathan <lovattj@me.com>