Besides that sample size (256, 512...), I would specially check chars
lower than 0x20, except, of cource, CR and LF. I think when someone is
willing to determine if a file is binary or not, he or she is more
interested to know if the file contains NULL. Don't they?