ide-tape: unify idetape_create_read/write_cmd