Solves hasher cannot read property of null

Running iocluster on FreeBSD server, the hasher function gives a null str entails in worker crash. 

This is tested in FreeBSD x64 10 and solves this problem.