account for windows line endings