Fix output path
Merge pull request #3 from abhikandoi2000/master

Append a trailing slash to the output filepath