clean path in swift middleware
clean path in swift middleware

the path also requires encoding as syslogs still show errors.

Closes-Bug: #1369124
Change-Id: Ie4d19a5a7dd5ce29e10c6e082bfcb33e6e641623

idegtiarov/ceilometer,ityaptin/ceilometer,Juniper/ceilometer,pkilambi/ceilometer,maestro-hybrid-cloud/ceilometer,chungg/aodh,redhat-openstack/ceilometer,cernops/ceilometer,fabian4/ceilometer,Juniper/ceilometer,r-mibu/ceilometer,maestro-hybrid-cloud/ceilometer,openstack/ceilometer,eayunstack/ceilometer,pkilambi/ceilometer,openstack/aodh,chungg/aodh,eayunstack/ceilometer,pczerkas/aodh,openstack/ceilometer,cernops/ceilometer,openstack/aodh,r-mibu/ceilometer,idegtiarov/ceilometer,mathslinux/ceilometer,fabian4/ceilometer,ityaptin/ceilometer,froyobin/ceilometer,froyobin/ceilometer,isyippee/ceilometer,pczerkas/aodh,MisterPup/Ceilometer-Juno-Extension,sileht/aodh,redhat-openstack/ceilometer,m1093782566/openstack_org_ceilometer,m1093782566/openstack_org_ceilometer,MisterPup/Ceilometer-Juno-Extension,isyippee/ceilometer,sileht/aodh,mathslinux/ceilometer