We've found that sometimes Phonos engines return empty audio files, presumably because the IPA passed to it was invalid or otherwise could not be interpreted. While some of that is expected, there's no reason to leave these empty files lingering around in Swift forever. Phonos should automatically delete the file and instead show a user-facing error that audio could not be generated.
Acceptance criteria
- Don't store files that are very small (current threshold is 1200 bytes)
- Show an error to the user, something like "The generated audio appears to be empty. The given IPA may be invalid, or the engine can't interpret it. Using the '$1' parameter may help."
- NOTE: It's not really safe to say the given parameters are definitively invalid; instead we just want to hint that it could be fixed by editorial trial-and-error.