Currently this conversion is done:: ``` - if type(fn) in types.StringTypes: + if type(fn) in str: ``` which is clearly wrong ...