Allow file_upload_temp_dir override

Backporting  https://review.openstack.org/#/c/103371/