bugfixes in pyload download method