Get rid of backwardcompat.fwrite() as it doesn't do what it seems to...