The Three-Dimensionalization of Stratified Flow over Two-Dimensional Topography