controlelf: simplify feature string parsing
Also add error handling on failure to seek/write updated value.