ScratchDir now checks for existence of root directory. If root path does not
exist, will function as simple pass through. Makes it a lot more robust to bad
mounting of scratch directories on certain resources.