Truncate files with 'w' and 'w+' options