Lithgow man jailed after arrest with knives