File validation check is way too greedy

Presently the file validation check checks for spaces in any part of the
file path to the cookbook. This change ensures that we just check the
cookbook name and paths underneath the cookbook.

Otherwise we get:
Uploading zookeeper (0.1.5) to: 'https://api.opscode.com:443/organizations/ean'
The cookbook 'zookeeper' has invalid filenames:

  /var/app/jenkins/jobs/ean-zookeeper cookbook/workspace/attributes/default.rb
  /var/app/jenkins/jobs/ean-zookeeper cookbook/workspace/recipes/default.rb
  /var/app/jenkins/jobs/ean-zookeeper cookbook/workspace/metadata.rb

Please note, spaces are not a valid character in filenames