[ruby] How to get filename without extension from file path in Ruby