pass BadFileException with rdkit