Fix bug in using the same translate for str and unicode in fakeimage-getter