generalize metalsmith-based plugin to work on Windows and Unix