Python parser for petlink listmode files