Save a stat call by calling sapi_get_stat()

Merge over an optimization from APC that saves a stat call on the top-level script by calling sapi_get_stat()