storage: fix plan9 support for real
storage: fix plan9 support for real

remove os.O_EXCL, it's not what we want. that just prevents os.O_CREATE from creating if the file exists.
what we want is os.ModeExclusive, which on plan 9, is DMEXCL, aka the lock bit, which should be equivalent to posix flock(fd, LOCK_EX).

furthermore, fix rename. on plan 9, you can't pass a full path to Wstat, which is what os.Rename does under the hood. just pass the last path component.
we have to os.Remove first, because Wstat fails if the target exists.
hopefully rename() is not used to move files between different dirs, because then this won't work.

FactomProject/goleveldb,trigrass2/goleveldb,no2key/goleveldb,chai2010/goleveldb,zzl0/goleveldb,rentongzhang/goleveldb,ngaut/goleveldb,hustbill/goleveldb,btcsuite/goleveldb,syndtr/goleveldb,conseweb/goleveldb