Fix filename to avoid appending authenticated url params

Previously, upload.file.filename was returning "filename.ext?AWSAccessKeyId=...." instead of "filename.ext". I have changed it to use URI to parse the url and extract the path without the trailing params. The filename is pulled from that path using a simpler regular expression than than what was applied to the raw url string before.