Normalise windows paths, closes #279.