Better standard error management for dumps
Refactored dump and restore methods
Added unit tests for dump and restore methods
Merge pull request #3 from enricostano/better-stderr-management

Better standard error management for dumps