fixed #737 : excluding the file extension from the asset file name while renaming

re-based the repository and made the required changes. please review.
Why check if it's read-only after the fact?