[core] Ignore all the mo files except the ones from third parties in ext-py