Fixed issue with teamcity encoding