If you are trying to get your phone back to the way it was when you got it, I recommend flashing an RUU instead. It reverts your recovery and bootloader too. You won't even need a custom recovery to do this.
There are many RUUs available, like this one for the GSM HTC One GPE. Just make sure you download the correct package for your device and follow all and instructions provided.
At the end of the process, you can even re-lock your bootloader security by running
fastboot oem lock from a connected computer, while on your phone's fastboot screen ([Bootloader] > Fastboot).
*Note: Be especially careful when flashing an RUU because, while it reverts your recovery, bootloader, and system, it can possibly corrupt those files and potentially render your phone a brick.