HAL_PX4: workaround problem with APM file on SD card

this works around file redirection bug from earlier firmwares