Raise appropriate error when bib file contains non-ascii characters.