fixed download file name, https, etc closes #885