A geometric theory for scroll wave filaments in anisotropic excitable media