title: Google Cloud Task is not writing file to storage
body: <p>I am working on a GAE app, one of the time consuming task, I have moved to Cloud Tasks. This task is supposed to read files from storage, process it and write final output back to the storage bucket.</p>
  <p>Everything goes fine till generating the data, but task hangs before writing the output file back to cloud storage. Task remains continuously in running state without any error logs.</p>
  <p>This code runs successfully if I run it as a manual python script.</p>
  <p>I wonder if there is a permission thing that is blocking cloud task to write back to storage bucket.
  Any lead on this is appreciated.</p>
  <p>Edit: Problem appears in the path. output file path is something like: /logger_sh2 (1)/sh2_day4.</p>
  <p>It works well for other paths.</p>