sim posix: align sim versions of flash API and logfs to real versions