Make this compile in Windows

Replace `generate` by a python script
Use the `regex` crate within Rust to replace awk
Remove mimes.txt, as we download it each time we run cargo build.