Implement rm command.