Fix for HHVM stream_get_meta_data issue

https://github.com/facebook/hhvm/issues/2336