Automatically create data dir if it doesn't exist