Fix file browser not showing files with uppercase extensions

Changed file browser to cast to lowercase when comparing allowed file extensions, fixes #490