Added StreamWrapper
Added dirname, realpath option