MDL-39052 create temp files only in Moodle temp folder