Move creation of hive.exec.local.scratchdir and only create resource when necessary
Merge pull request #117 from caskdata/feature/hive-scratch-dir

Do not create unnecessary directory resource