get rid of the as_write and as_seek hack.  switch to generic with type param with static dispatch.
get rid of the as_write and as_seek hack.  switch to generic with type param with static dispatch.

ericsink/LSM,ericsink/LSM