Add mask setting to FileLog

This is a new PR following the old one (https://github.com/cakephp/cakephp/pull/1162).
I hope I have addressed all your suggestions.

Thanks.