Add a feature to save histogram data to a text file.
GETPREVIEW from fifo will save both on /tmp/<fifoname>.jpg/.txt