You are not going to like this.
The only option that will solve your problems once and for all is to download the SubSonic sources, make the necessary changes to the templates, recompile and use your own binary instead of the stock download.
In the long run I strongly recommend ditching SubSonic entirely. It's not worth the pain.