More robust mtime precision checks