fixes for downloading wheels (Issue #1112)

fixes for #1112