text-image-io function

Read/write an image array to/from disk as text file(s).