Get current directory with `Dir.getwd`.

Closes #76.

Fixes #root_path approach of getting the current directory name.