Fixed "Arguments to path.join must be strings" in nodes around v0.10.1