Fixed file download in web UI; fixed sample file name in template.