updated mime functions (match prototypes)
debug names/lint
read_binary_size return value
read_binary_size return value on read error
Merge branch 'bug1'