create media directory if it doesnt exist