Change binmode() usage for file glob.