A default output directory is hardwired into the code. This causes an open (or printf?) failure if the directory doesn't exist.