### Describe the bug When trying to use pdwfs with a simulation and post processing code in python 2.x, it does not work. I get: ``` [PDWFS][6865][ERROR][C] ferror not implemented by pdwfs ``` However, it works with python 3. ### To Reproduce [python_issue.zip](https://github.com/cea-hpc/pdwfs/files/3868080/python_issue.zip) ``` unzip python_issue.zip cd py ./launch.sh ``` ### Expected behavior A file named pyres should be created and should contain ``` Hello World 0 Hello world 0 [0 1 2 3 4 5 6] ``` ### Additional context Running on Ubuntu 18.04.3 LTS, with python 2.7.15+