
- better file handling code
  test file handling (imcomp.pl should work with XS)
  best API?
  mmap?

- push trim to Data::BitStream

- redo Data::BitStream to use our pos and len
