fix issue when last_modified field ends with 'Z'

This solves an issue when last_modified field returned by swift ends with 'Z'