Implement babel compilemessages command