Added app tmp permission to composer post script.
Adjusted write status of the placeholder tmp files.