Adding basement for the direct download url

refs https://github.com/owncloud/core/issues/12286

@dragotin @danimo @guruz @ogoffart @karlitschek @icewind1991 THX