Open text files in binary mode