pycc writes header files using text mode. fixes #209