Fix mtime precision checks for python < 3.3