Fixes encoding issues and wrongly committed project files