[stable6] Bring back the download button public folder

Backport of https://github.com/owncloud/core/pull/8400

I had a quick test and it seems to work fine (with zip download enabled and disabled).

Please review @DeepDiver1975 @jancborchardt @MorrisJobke 

@mandawah please help testing this, thanks.