Added function for automatically creating .wpasupplicant files from .profile files, and a parameter to ensure that log writes are always unbuffered