Support directories with "." in x509_load_serial()