Handle spaces in filenames with external editor (bgo#732089)