BUG: Correctly surface reshape invalid axis errors.

This was reported on the mailing list.