cloud_aws: fix string formatting in exceptions
cloud_libvirt: fix string escaping (use r-strings)
general: use new style except syntax for Python 3 compatibility