Fixed digest format to include extensions.