Same problem here - normcase returns a string which does not have a decode method in Python 3.