Made sure pythonmagick image is given a string, not unicode.