_DelegateIO: Fallback to StringIO attributes

Fallback to StringIO attributes and methods when not available in
_DelegateIO class.
Bumped version number.
fix indentation problem

Fix commit 21fec4f465 indentation as it used tabulations instead of
spaces.
Bumped version number.
Fix error reporting with unusual chars.

Signed-off-by: Raphaël Barrois <raphael.barrois@polyconseil.fr>
Fix output writing.

Signed-off-by: Raphaël Barrois <raphael.barrois@polyconseil.fr>
Only write unicode objects to minidom.

Signed-off-by: Raphaël Barrois <raphael.barrois@polyconseil.fr>
Typo

Signed-off-by: Raphaël Barrois <raphael.barrois@polyconseil.fr>
Fix issue with self.stdout/stderr.

Signed-off-by: Raphaël Barrois <raphael.barrois@polyconseil.fr>
Merge master into polyconseil

Signed-off-by: Raphaël Barrois <raphael.barrois@polyconseil.fr>
Version bump

Signed-off-by: Raphaël Barrois <raphael.barrois@polyconseil.fr>