Retrieves the file extension from the specified path.
The file extension as a string, or an empty string if the path does not have an extension.
The file path from which to extract the extension.