BMP files IO (little library I wrote back in '09)