Rename ?filename=foo.jpg to foo.jpg