python 3 needs an explicit decode for the result