sed needs write permissions on folder to create temp files