osx: generate plist file