This commit adds RISC-V file-system support through the backport originally provided by ARMv8. fixes #4800