append to existing doc file if already exists (instead of appending dots to filename)

This allows us to see functions/macros with duplicate names in the same
file.