Flush STDOUT after writing XML

Make sure Alfred has its results, even if the workflow hangs