Turn filtype on before turning it off to be sure vim exits with status 0.