on download failure: log error to file and show user-friendly 404 page