Strain localization and fabric evolution in sand