Make sure to clean stale files on http download

Should fix #1585
Merge pull request #1587 from OCamlPro/html-clean-stale-files

Make sure to clean stale files on http download