Fixed bug in StaticFileSystem Plugin
Extended error handling