decode baldr files in Go