less fussy template name building

- procedurally add template names instead of trying to manipulate an array
- use WP `sanitize_file_name` to clean the user input suffix