Fixed hash function for >Node V0.10.