Bugfix: binary STL export produced corrupt results on Windows. #1814