fileutil: don't discard non-dir non-regular files
fileutil: don't discard non-dir non-regular files

This should only affect unix-like systems. It might be useful to format
non-regular files like symlinks, so make less assumptions.

mvdan/sh,mvdan/sh,mvdan/sh,mvdan/sh