[galaxy-dev] Unexpected behaviour when downloading HTML files