fixed edit_attr.cgi on uploaded file check routine