Frustratingly, as of right now, Mint seemed to stop returning 404s, so I don't think this code is getting hit. The problem now is that it's sometimes returning empty csv files.