Fix docs generation to avoid files without extensions

Files without extensions break the NuGet
packaging (https://nuget.codeplex.com/workitem/3277)