Fixed a bug in modification time comparison and added nanosecond
resolution for the same (Unix only).