Fix: platform.files should always be an array

Closes #90