Fixes the issue with attachments replacing each other locally so files with same filename appears as the same file