Fixed pdf download.

Was leading to page, now starts download directly.