Fixed SPI file descriptor bug when closing. Fixed issue #14.