Open files in binary mode