#34: better dumping of negative intervals

This closes #34.

@arjclark, please review.