Pickling template files