Minor, fix a trim() issue with resolveBinary() on non-Windows systems.