fix path.join error on node 0.10 when using noDisk option

Resolves this error:

```
TypeError: Arguments to path.join must be strings
```