[#6817] fix filename logic in import attachment handling
2 files changed