Loading .pat files did not work in windows - "r" for binaries is bad