A simple script to export all pages to text files