Creating a tempfile for received files