Update AutoloadGenerator.php

dirname(__FILE__) while valid offers no known improvements to __DIR__ and I believe makes code slower to load.