Explicitly set mode of tmp/phantomjs directory

Some operating systems (like CentOS) default umask does not allow writing to a directory created by Node with the default 777 mask.
Merge pull request #91 from jgable/patch-1

Explicitly set mode of tmp/phantomjs directory