Fix rubocop's SpaceAroundBlockBraces warnings.