copied cogent.util.misc.remove_files

will likely remove from cogent when it's updated to use qcli