Add option to save plot to file instead of displaying

Use as: mprof plot -o <filename>.<ext>