remove use of tempfile() in AgaviUploadedFile, refs #1412, #1287 and #1449