Fix Python 3 compatibility issue in the ScriptFileDeployment class. Part of LIBCLOUD-321, contributed by Arfrever Frehtes Taifersar Arahesis.