Make std.file.getTimes safe
Merge pull request #2446 from tom-tan/safe-file-getTimes

Make std.file.getTimes safe