Update prop.go

fix 'bad file descriptor' bug on mac