Catched ioerror when saving long files