This has come up occassionally. We believe the problem stems from the OS, to date only on Windows 7, and its handling of long file names. If you have a PDF attached to a record with a very long file name, this error can occur when creating the .enlx. From our testing it looks like the magic number is exceeding 102 characters for both the library name and file attachment name.