Refreshing headers in upload_file. This allows s3_header Proc to use attributes of image which may not yet be set when initially determining headers.