MinGW: Scan for \r in addition to \n when reading shbang lines