Address bug in inmemory filesystem WriteAt method