Fixes issue where SRTs with a BOM could not be processed.