Write feature length to file.