Merge pull request #235 from shieldo/vfsstream_specs

replace fake file manipulation functions with vfsStream mock filesystem ...
remove unnecessary iterator_to_array which can cause memory exhaustion