Bugfix related to reading files with nbits >= 8.
Updated version.