add FIODRV for file-io operations while loading & saving bmp file.
modify loadbmp & savebmp function interface, and related files.