[backend] Fix permissions issue on old files.