Unfortunately, we do have a potential race if the binary is renamed between the call to readlink and the real fopen. Fixes: #349