Set execute bit on muonlab script
Added size parameter to read and close on exception
Close device on write exception, reopen on write
Flush calls FtdiChip.read