Correctly show the folder protection status in the file picker (see #6433)