Fewer people applied for unemployment benefits last week but the total number of Americans collecting jobless benefits rose to the highest level in more than two years.