Bash Script Store Curl Output File