Script to pull from directory containing spaces
Get doublequotes:

for file in $(./adb shell ls \""$DEVICE_DIR"\")
                               ^           ^




./adb pull "$DEVICE_DIR/$file" $HOST_DIR/;
           ^                 ^


And remove backslash escapes:

DEVICE_DIR="/sdcard/WhatsApp/Media/WhatsApp Images"
                                           ^