fix FileUtils#cd to return the result of block if block given.