syncSpi now properly closes file handles