enhance firmware filename parser for CMD_COPY