Fix bug when saving the receipt file using a .DEC filename as template