Ignore directories when sending assets

This is a patch for #57 in which we were trying to upload directories that were picked up in the dir globbing.

for review @tylerball @jduff