added new resource path method for osx bundles