Handling path separators in GOPATH

hopefully in a lowest-common-denominator type way (noticed script uses bourne shell).