updated osx-plist to work with most recent versions of ruby