Make bitmap indexes equality-comparable.
Remove redundant check.
Add path::split() and path::trim().

These two new functions faciliate working with file system paths.