update index.json for directories, create io.output_file(), fix download verbosity arg