Fixed -o option for piping results in an output file.