Use path.resolve instead of concatenation, refs #94