Fix Python 3 failure in automodsumm

@eteq - do you think this is good to go? See my note above - basically all that's changed compared to the version you had previously is that I've removed the ``u``