E_STRICT mode correction (closes #1835) php 5.4
Merge pull request #584 from eguaj/3.2-A3294

Corrected erroneous sprintf() (refs #3294)
Merge pull request #587 from Eric-Brison/3.2-E1835

E_STRICT mode correction (closes #1835) php 5.4
Re-generate autoloader cache when cached file does not exists (closes #2508)

Also:
- Atomically write the `.autoloader.cache` file.
- Re-generation is locked in order to prevent multiple processes from
  re-indexing the files.