The assets virtual filesystem recognizes directories only if the filename ends with "/".
This breaks compatibility with other filesystems.
Use case (using .qml in assets)
In QML, doing a
'import "subdir" as sb'
"file:///qml/main.qml:4:1: "subdir": no such directory"
'import "subdir/" as sb' does work