open mode "rb" for python3