Generate an APC prefix based on __FILE__

Relates to https://github.com/symfony/symfony-standard/issues/654