For b

@bmizerany 
`modePrivateDir` is used in both main and wal (potentially snap). Do you have an idea who should own this const (std OS is the best place though)?