Using correct directory name for csv output.

Fixes #23.
double quotes, and you can do `inputDir.split("/", 1)[0]` which avoid unnecessary work