Fixes bug with :basename tag in permalinks

When :basename was used for files in the root source directory, one character was removed from the beginning. This fixes this.