Fix obsolete characters (/ and :) in template names