Enforce Unix line endings.

Backported from https://github.com/twbs/bootstrap/commit/f2dab82d307259c9029e21fc5020ada482b0df7c.

Should fix #306