Exports messages from webos database to a text file.