added patch for deployments with non ASCII chars in files

patch for encoding bug