Download my posts error

I am still unable to repro this case where post is not linked to a topic (which seems to be the cause for this error), however I simulated this exact error locally and sent a PR to fix:

https://github.com/discourse/discourse/pull/3486