Well, since it was bumped it's worth mentioning there is a new way to do this added in Arduino IDE 1.6.5:
- Sketch > Export Compiled Binary
- If you are doing this with an example then you will be prompted to save the sketch in another location.
- Wait until the sketch has finished compiling.
- Sketch > Show Sketch Folder
- The .hex file will be in the sketch folder