Remove extension only on Windows