Writing functionality moved from AliasesFileBuilder to AliasesFile.