Bugfix for recursive directory creation
Implement stream_stat as requirement for stream_get_contents()