URLEncode image paths, fixes #22