Adds support for some stream_wrappers functions such as mkdir/rmdir/unlink/rename required by Drupal 7
Fixes regression on recursive mkdir
Update testcase
Merge pull request #3 from dgiagio/master

Pull stream-wrapper fixes.