examples.py: strip examples read in from disk

just removes trailing and leading space, if any