Added support for utf-encoded image paths