Testing files with BOM with Apache Commons BOMInputStream