Use template0 for PG.

See: http://stackoverflow.com/questions/16736891/pgerror-error-new-encoding-utf8-is-incompatible