You are supposed to write to /opt, the file will be in /opt.
The filesystem will be encrypted, not individual files.
The encrypted filesystem will be in /dev/hda8. /dev/mapper/crypt is a "virtual" device - uncrypted /dev/hda8. Or, /dev/hda8 is "encrypted" version of /dev/mapper/crypt, which holds filed of /opt.
I hope I've confused you even more now
