unpacking .bin into a tmp dir