Made script generated code format compliant
Added option to have the script download the source file directly
Added generation date
Also updated the header file to the latest nginx mime.types
using with instead of open and close
removed while loop
using one line to write the new file
using unordered map instead of ordered map
added indentation to the generated file