Support current working directory as the `cwd` option
Clean up pull request.
0.4.1