Python Get Directory From File Path