SERVER-14336 use the correct config key for pid file, fix blanks handling