After parsing the arguments, the script should make the output file's parent directory if it doesn't already exist.