Replace tabs with spaces.
Report invalid date properly as part of issue #5.