Correctly handle encoding when figuring out the project hash


Correctly handle encoding when figuring out the project hash to work correctly with the newest build of ST3 (3014)