python3 and Libreoffice4 compatible script for doc convertion