Fix file download link: only shown when there's a file to download