Any consideration to using a small, white LED instead of a bulb?
The make almost no heat, and are automatically 'directional' by nature (not sure if steam loco's operated that way or not??)
The LED's are available in 3mm and 5mm sizes, and will also need a resistor to keep from blowing up...