Filesystem: Filesystem filename encoding consistency fixes. Avoid double encoding of filename components. Fixes remainder of [bug 7659 (#7659)].