This feature only exists on master.
fixes download issue introduced by #10755 Conflicts: apps/files_sharing/public.php