Handle ValueError for do_edit and do_rename when using the wrong number of args