Small bugfix; want to append to files if they already exist