Disallow blocks() in 'w' mode
blocks(): fix special case with frames and fill_value