Carloader reported, that while closing the top cover of a railcar, he had sprained his middle finger on his right hand. He stated he was lifting the car cover with his left hand and he put out his right hand to push against the loading spout. He jammed his middle finger against the spout.