Fix bug related to mode options.  The -m options will no longer affect directories.