Truncate resource path cross platformly and remove groupingHash

We were sending paths relative to the app bundle for Mac and absolute paths for everything else.