keep original template filename for the possible error message to show the correct file that was not found

Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>