Fix rpi image corruption.