Chack for a new fileactions availability

Check for OCA.Files.fileActions availability instead of FileActions