Fixed an issue affecting .meta files for documents with extensions (i.e. .meta.index.html).