[BUGFIX] Fix SQL error for sys_file