Fix downloading prerelease; better diagnostics