#814 - open compressed files with binary mode