preserve os.FileInfo in HTTP roundtrip