Fix rubocop's SpaceInsideBrackets warnings.