Use mfgno from the HTTP response.
Minor cleanups.
Change output filename to mfgno + timestamp.