I can't be absolutely sure (I'm looking into a similar thing to unrelated purposes), but I believe you'd need something like this to de-obfuscate file names of attachments for this to work. As it is attachment links are offered up with a temporary URL which you would not be able to resume downloads from.