try to use OS temp directory for uploading