A lot of work to get downloading of various file types right, also fixes #35.
Preparing release 1.9
Back to development: 1.10