Fix deprecation warning in partition config command.
Add CLI handling for validation and IO exceptions.