Strip leading whitespace in config file

Skips more lines properly, preventing segfaults.