Catching an IO error that comes up on the RP if a usb stick is pulled out without being properly mounted