Save plot to file