fix `cwd` option

fixes #4
closes #5
0.1.2