Updated edit_attr.cgi for checking invalid FD on file upload.