Threaded file logger for PAWN