filter out extraneous stdin= prefix and trailing newline for some openssl linux versions