Fix for failing on platform based files.

For example for a style file that is `styles/android/mystyle.tss` the file object is, e.g.
~~~
{ 
  file: {THE FILE NAME},
  platform: true
}
~~~

`platform: true` ends up throwing an unsupported file type boolean error as you go through your loop.

This is one fix, not sure if removing platform has other side effects...