Invalid file paths were being constructed on Windows.

Relates to https://github.com/playframework/playframework/issues/2803