Monkey patch the print function not to raise UnicodeEncodeError in windows
Make sure that the data directory exists. Create it if not
Moving main logic into main function
Everything in parallel

Old wall time: 48.4 s
New wall time: 14.9 s
!!!