create resource directory path if doesn't exist