Issue #21709: Remove references to __file__ when part of a frozen application.