better path detection for asset version file