Bug 861829 Fix symbol names of *stat on Solaris, make |dirent| work on Solaris r=dteller
Bug 865192 - Remove unnecessary toPhi() coercion, r=dvander.