patched text/template/parse to not use goroutines