Fixed bug in file uploads with > Sails v0.10.1