Move data directory creation/query code to ag_get_user_data_dir()