Make std.file.chdir safe
Call cenforce in one line
Merge pull request #2558 from tom-tan/safe-file-chdir

Make std.file.chdir safe