storage.Key.get_contents_to_filename: sync mtime with updated time

For issue #311 
In test case, I create a dummy updated time, and using python built-in module
'os', 'time', 'datetime' to sync file's mtime with updated time