Replace slashes to underscores in filename