Add message index to attachment files

So that files attached to different messages with the same name and
url_part don't get overwritten.