A curve file begins with 0x0001 or 0x0004 depending on the version in use (http://www.adobe.com/devnet-apps/photoshop/fileformatashtml/). A signature based on these sequences would be highly prone to clashing with other formats, so identification is currently based on extension only.