written file paths respect site config permalinks
Merge pull request #135 from kindohm/master

fix for written files to respect permalink in _config.yml