Rewrote filterString method to not use Bio-Format library (because
updater.jar is using XMLUtil).