Merge "liblp: Move image reading/writing functions to a new cpp file."