Fixed resource.AddFile

A quick fix I noticed when setting up a server with fastdl