Add support for non-standard hive.exec.local.scratchdir