FileWriterBolt, fixes to main and splitbolt