BUGFIX: for python3-eccodes the file openings need to be in binary mode! added binary marker in filemode