tools.deploy.windows.ico: Throw an error if the .ico is a unsupported
format.
tools.which: adding some docs and cleanup.