Fix handling of templatize code which has spaces and those spaces
messes up the split so a maxsplit value of 1 is used to control
the splitting.