Fix bug due to accidental use of `path` module

The function `Builder::resolveLogFilePath` uses `path` module rather than
the `path` variable. Changes variable name to `childPath` and requires
the `path` module.

Closes #28