remove use of tempfile() in AgaviUploadedFile, refs #1315, #1196 and #1352