Pure Python I/O code for RGB files (experimental)