Move TEMP_DIR into the Configuration object.