log_writer_file: register hardfault handler before opening the log file
log_writer_file: register hardfault handler before opening the log file

hardfault_store_filename() opens and closes a file descriptor, so if we do
it before opening the log file, we need one file descriptor less

mje-nz/PX4-Firmware,Aerotenna/Firmware,krbeverx/Firmware,krbeverx/Firmware,krbeverx/Firmware,mcgill-robotics/Firmware,PX4/Firmware,dagar/Firmware,jlecoeur/Firmware,Aerotenna/Firmware,PX4/Firmware,krbeverx/Firmware,acfloria/Firmware,jlecoeur/Firmware,jlecoeur/Firmware,mje-nz/PX4-Firmware,jlecoeur/Firmware,acfloria/Firmware,PX4/Firmware,mje-nz/PX4-Firmware,krbeverx/Firmware,acfloria/Firmware,PX4/Firmware,mje-nz/PX4-Firmware,mje-nz/PX4-Firmware,jlecoeur/Firmware,dagar/Firmware,mcgill-robotics/Firmware,krbeverx/Firmware,jlecoeur/Firmware,Aerotenna/Firmware,mcgill-robotics/Firmware,Aerotenna/Firmware,mcgill-robotics/Firmware,PX4/Firmware,mcgill-robotics/Firmware,acfloria/Firmware,PX4/Firmware,Aerotenna/Firmware,jlecoeur/Firmware,dagar/Firmware,mje-nz/PX4-Firmware,mcgill-robotics/Firmware,mcgill-robotics/Firmware,PX4/Firmware,Aerotenna/Firmware,dagar/Firmware,Aerotenna/Firmware,jlecoeur/Firmware,acfloria/Firmware,acfloria/Firmware,dagar/Firmware,krbeverx/Firmware,dagar/Firmware,mje-nz/PX4-Firmware,dagar/Firmware,acfloria/Firmware