writebfids: dont quit script on unexpected IOErrors.