Improve browser compatibility for folders.