If filename is just whitespace, don't bother with a download link and fix log link