title: Why does Doctrine 2 create ~Entity.php file?
body: <p>When I generate my entities I have a file prefixed with <code>~</code> like a backup file or something</p>
  
  <p>Is it a bug or you need to manually remove them?</p>