Do they write/store them within the app bundle/package itself? Or some other canonical location? Or does there not seem to be any standard?
Files usually go in ~/Library/Application Support/Your App/. Preferences go in ~/Library/Preferences/.
~/Library/Application Support/Your App/
~/Library/Preferences/