Changed file open commands in qcdutils to open in binary mode