Replaced strcmp with str_is_equal.
Move file into directory when target is a directory in cmd_mv().