use correct filename when saving download