Fixed error when client is run with serial file it cannot access/create.