Fixed filename character issues when uploading or deleting files.