set temporary file directory in config