Set a different TCPDF cache for CLI usage.
Avoid redirecting; re-use File Entity's download page callback.