Fixed file output directory.

  - This fix is very minimal, as a result output directory arguments
    must have a trailing slash.

Fixes #34