Use `file.separator` in pom path relativization.

Fixes #944 I think.