Fixes handling of UTF-8 encoded project files.