Added module_name back into the logging path. If the logging path does not exist, or if the module-specific logging folder does not exist, then either will be created and have their permissions set. For Tickets #130 and #132.