Create parent directories if needed in GetDataDir

One-line change. Fixes #2752.
Merge pull request #2754 from laanwj/2013_06_create_data_dir

Create parent directories if needed in GetDataDir