[ranger] Add file preview script