When generating a binary map using "loadkeys -b" to target a smaller device, the command fails unless run in an environment where it can access a console device for itself. This is due to its unconditional use of getfd(), even when all the command is going to do is write out a binary version of its input file.