Fix "unused parameter" warning.
Use mock scrollbars for the testsuite.

This should help with getting the same results as other platforms.
Create download directory if it doesn't exist.

Fixes #8240.