Fixing obj export error

Program would crash due to an invalid cast if a sa2 format model was
supplied.