Making sure http based staging write out good lock file