avoid collisions with generateFileName, fixes #59