Fixed output option not printing to specified file.