Bug fix - Append to file, instead of overwrite.