You could also fork the library from GitHub, apply your changes there and import/contribute the library as private (only visible for you).
This might be the quicker way due to the amount of seperate files in the SD library.
Make sure to push the version number up in the spark.json
file.
Edit: @armor, have you not seen this library on Web IDE "SD-Card-Library-Photon-Compat"