Remove unwanted fields from a BibTeX file