Misc cleanup: unused imports; similify code; add comment
HDS downloading to stdout via special file name “-”