fix some issues with downloads scripts in install mode
Fixed test file path issues and 'incremental writing' on 'writer'.

Signed-off-by: Erik de Bruin <erik@ixsoftware.nl>