Actually fix getting next/prev page when no such exists
Do not try to stream file through request

As response handling has changed in Django 1.5, current approach no
longer works. In future we should use StreamingHttpResponse class, but
as this is available only since Django 1.5, it should be done once we're
ready to drop 1.4 support.