       if @public and not storagePath
         throw new Meteor.Error 500, "[FilesCollection.#{@collectionName}] \"storagePath\" must be set on \"public\" collections! Note: \"storagePath\" must be equal on be inside of your web/proxy-server (absolute) root."
 
-      storagePath ?=  "assets/app/uploads/#{@collectionName}"
+      storagePath ?= "assets#{nodePath.sep}app#{nodePath.sep}uploads#{nodePath.sep}#{@collectionName}"
       Object.defineProperty self, 'storagePath', {
         get: ->
           sp = ''
           if _.isString storagePath
             sp = storagePath
           else if _.isFunction storagePath
-            sp = storagePath.call self, "assets/app/uploads/#{self.collectionName}"
+            sp = storagePath.call self, "assets#{nodePath.sep}app#{nodePath.sep}uploads#{nodePath.sep}#{self.collectionName}"
           
           unless _.isString sp
             throw new Meteor.Error 400, "[FilesCollection.#{self.collectionName}] \"storagePath\" function must return a String!"


    self       = @
    opts      ?= {}
    opts.path  = "#{@storagePath}/#{FSName}#{extensionWithDot}"
    opts.type  = @_getMimeType opts
    opts.meta ?= {}
    opts.size ?= buffer.length

    {extension, extensionWithDot} = @_getExt fileName

    result           = opts.file
    result.path      = "#{@storagePath}#{nodePath.sep}#{opts.FSName}#{extensionWithDot}"
    result.name      = fileName
    result.meta      = opts.file.meta
    result.extension = extension
