Fix node path.resolve error

Refs #9