i have to introduce a respond_to, as rails >4.0 doesn't expose UploadedFile#close :(