An utility exposed by pathe could help make sure the generated paths are valid under Windows. See https://github.com/histoire-dev/histoire/issues/256