Fix: avoid unnecessary I/O when building cache file URL
For more details see the discussion on:
https://developer.apple.com/documentation/foundation/nsurl/1410614-urlbyappendingpathcomponent
Since we know that we're looking for a file and a trailing slash will
never be necessary, we can safely use the more specific version of the function