Explicit file checking. fixes #8
fixes #7

Created a more informative error message for when the output
file doesn't exist.  Only the basename can be specified with the
-d -s -f options and the directory must be specified in -o.