#1788 correctly rename file after convertion. (remove old extension)