Container: Handle path to temp directory being a symlink (common on OS X)