check quota when trying to download a file via new -> web

fixes #https://github.com/owncloud/core/issues/10047 for master