write sequence files properly.