prepare lzo support for pull request - 2nd half

- move compression_method field from BundleInfo to file header
- add a test case to make sure this doesn't break compatibility