Issue with cuckoo api saving files in /tmp

Hi, I had a trouble with my hardware in this morning, so after I fix it, I saw that I lost many pending jobs because the api.py saves the files in /tmp.

My question is what you guys think about change the store_temp_file function to work with the conf file and read from there the default temp directory  ?

I did this changes here and tested it,...