Ensure spawn is called with a valid path to prevent ENOTDIR error

Fixes #25
Merge #26 concreted/enotdir-fix