Improve po2tmx for cPO and fPO

SLight changes to code and tests to ensure that the extraction works for other
PO parsers.