CHEF-4422 Truncate cache paths for remote files