Bug Fix

Fixed a bug saving geotiffs