altoslib: Only open log file when both flight and serial are known