Don't barf on spaces in command line arguments. Check for ELF file before giving it to microchip's libraries.