`oz compile` typechain artifact generation overwrites artifacts

Anatol reported on Telegram

Hello! I’m always having problems with typings generation when compiling with oz compile
if the built contracts are up to date - truffle generated typings are empty
and overwrites the good typings with empty ones

I can reproduce and have created an Issue: https://github.com/OpenZeppelin/openzeppelin-sdk/issues/1529