S3: Add support for storing dos attributes as st_flags in the stat struct.