Attempted fix for incorrectly encoded files.