Don't use backup files for templates.

New API fm_file_info_is_backup() is introduced and template file
is tested against that API.