It would be great to move this to `utils.dart` - possibly named something like `getAppContentsBinary()` - and update here and in sdk.dart to use it (not necessary for this CL).