append instead of truncate when opening new files