facebook/hhvm — pull request #1850 by k-fish (2014-02-18 02:11:16+00:00)
Title: File uri stripping to fix file_exists and is_dir

Supplants #1837 , though still uncertain whether this is an appropriate spot for it to be stripped.
+ Fixes #1847
+ Fixes #1835