Allow upload_to to be a callable.