output-file option in stack-abandon

This patch adds --output-file, -O option in stack-abandon command.
If the option is specified, stack-abandon will output a result into
 the file.

Change-Id: Ic2518eae86d5f917d5227c6ab73062b665b5a89b
Closes-Bug: #1299023