Make error output print the exception name instead of just "Error".
Error out if the -f argument contains a path separator.