Bash Script Append Output To File