bb-1398

Fix file downloads