Cross-platform (Windows) fixes - backslashes to slashes in permalinks, rimraf in favor of exec'ing rm -rf. Fixing failing no-relative test by adding test.txt file to expect not to be copied into relative paths.