fixes http/https file naming problem closes #272