create media directory if needed