commands/plugin: error if windows with space in dir [GH-4351]