Write binary files in mode wb

This makes sure pake.py honours line endings writing to files in a Windows environment. Change ist related to https://github.com/openlayers/ol3/issues/1747 and https://github.com/openlayers/ol3/pull/1749.