Added drupalIsWriteable to check if public:// is writeable