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.