Use freopen to implement zfio.h and rename it to zstdro.h