Enforcing input/output paths not to contain spaces