Make Mac Maildir scanning less crashy