Remember hearing "There's no such thing as a free lunch"; this holds true with refinaces,quite often the free one winds up costing more in interest payments.
When you pay the fees up front they are typically less than the increased payments made over the life of the loan.
Same is true for :0 % financing. somebody pays the bank for use of their money, and that somebody is always you.