Merge "liblp: Add an abstraction layer for opening partitions."