Fix platform-specific spec failures related to fileglobs