bugfix io with empty vectors
Merge pull request #256 from joergkappes/master

bugfix io with empty vectors