Trimming filename whitespaces and replacing internal whitespaces to '+'