Fixed the way decorator template filename is built. refs #240