Third attempt to make pull request for fixing issue #120

Replace for https://github.com/dagwieers/unoconv/pull/121 and https://github.com/dagwieers/unoconv/pull/126