fixed a bug which deleted the resulting file after conversion when it had the same extension as original