add bounds error for year dumping
fix error raising bug
Merge pull request #58 from benfitzpatrick/dumper.add-year-bounds-error

Add bounds error for year dumping