Put should truncate the existing file