Fix exception when capturing stdout
Bump version