rrd.py: create output directory if it does not exist yet