adding a fix to handle missing directories in the file browser in webkit browsers