Changing the bundle path getter to use an autorelease pool to prevent both leaks and crash-inducing double-releases.