#658: Add trailing slash when creating 'log/' subdirectory

Resolves #658.