Add dirname to Converter

This is [a pull request](https://github.com/matthodan/jekyll-asset-pipeline/pull/22) by @clee704 migrated from the old project.