Fixed URI bug in FileStore class