scripts/loader/program_fpga: fix bitstream name matching

It won't work with filenames containing whitespaces