Fixed bug where ampersands in fles containing notes were not saved as entities.