Fixed image file timestamp

Fixed a bug where the hour and minutes on the image file timestamps were
reversed.