Add configurable alternative to the default temp directory for uploaded master files