Add an osd_truncate call to truncate files [O. Galibert]