The structural basis of substrate recognition in an exo-beta-D-glucosaminidase involved in chitosan hydrolysis.