US stocks closed higher on Friday, but it wasn't enough to erase the week's losses. Averting a government shutdown ...