Return hash null when a file don't exist.

getMTime() Return -1 when a file don't exist.
Optimize the hash computation.