Always read line-by-line with mode rU
Always read binary files with mode rb
Always write binary files in mode wb
Use write to avoid newline problems
Update to the latest version of pake
Remove reference to stale build/src/external/src/types.js target
Merge pull request #1749 from twpayne/windows-newlines

Generate proper line endings on Windows