Fix error when filename in nil.

Apparently Uploader#filename can sometimes be nil. Who knew.