Parameterise the rootfs read-write base directory

Perform validation, giving each error its own id.

Separate the error id type for the implementation, such as
constructors, from the error id type for the RootFS interface.
Modularise the syscall wrapper

Introduce a separate interface per functional area. The first of these
is Syscall_FS which deals with filesystem-related system calls.