linux cleanups
more uniform stat treatment under Linux