Bug 932496 - Add length check to prevent from memory pollution. r=gyeh, a=Preeti
Bug 940684 - Don't allow unsafe paths when constructing DeviceStorageFile object. r=bent, a=Preeti