First: I wonder if all jpeg viewers accept the "new file", I guess some will choke on the altered files.
Second: If this works it might be possible to distribute hidden files through profile pictures (one facebook and friends) :) I'm glad I never store original jpegs in my web projects, but rather saved processed versions (resized etc).