Fix skip word on Windows endlines.

Would trigger StringOutOfBoundsException.

Fixes #424.