fixed directory creation in dump_netstats.py