There are two solutions as far as nanoc 3.x are concerned. Both solutions are described in detail on the nanoc Troubleshooting page. In short, either rename files, or use the static data source.
Since this is such a common problem, this problem is being tackled in nanoc 4.