Allows to creates file using stream even when subdirectory does not exists

Allows to creates file using stream even when subdirectory does not exists behavior to LocalStream cause InMemoryBuffer working like this before.