obsoleting nsILocalFile
Automated merge with https://code.google.com/p/firecommander/
refactored to promises