title: SPFolder.Files.Add creates the file but does return null
body: <p>I'm uploading files to a document library in SharePoint 2010 by using the Add method of a SPFolder.Files object (http://msdn.microsoft.com/en-us/library/ms472956.aspx). This worked fine, until someone made a template out of an existing library (where this is still working) and created a new library out of the template.</p>
  
  <p>On this new libary the Add call still finishes without exception but does return an SPFile object with Items property == null.</p>
  
  <p>In the SharePoint UI the file does not show in the library, but when I connect to the library via Microsoft Explorer it's there.</p>
  
  <p>I have the impression that the file is created but no item is created. Does anyone know this problem? Are there solutions?</p>