Added support to save created patterns to a CooPLa file