#46 - applying correct `chmod()` to generated cache file

See #46 ( https://github.com/doctrine/annotations/pull/46#issuecomment-67565499 ) 
If this line is reached, the tmp file will have been renamed already, thus not exist. Consider moving it inside the if indicating the rename has failed.