fixing node-v0.10 error about paths required to be strings