Moved split writing into cpdfcommand.ml, where it belongs.