Added windows compatibility to reading glob.db

When the Freedesktop.php adapter tries to read glob.db on a Windows machine, it doesn't pass the regexp (L 54) because of line ending issues differences. Adding the optional \r check to the end allows it to pass.