Sprite: Changed map file extension to ".map"

* Changed map file extension to ".map".
* Code cleanup.