Save docs without relative path.

This fixes a bug introduced in c52298c1 when processing files
within subfolders.