f doesn't exist, BytesIO objects have fileno(), but may return OsError
Removed extra print
Merge pull request #761 from wiredfool/jpeg2k_fd

Jpeg2k