While we are in there, also fix BZDNG-235 by checking that DSSP is executable and not a directory and making sure the output file exists before continuing.