Don't call subprocess.Popen twice when output == 'file'.

This fixes the real issue behind https://github.com/nipy/nipype/issues/705 namely that when output == 'file', the code called subprocess.Popen twice, which forks two process.